//
//  MyInvestmentTableViewCell.m
//  ZZLC
//
//  Created by 杨春至 on 2017/12/16.
//  Copyright © 2017年 ZhongZeng. All rights reserved.
//

#import "MyInvestmentTableViewCell.h"
#import "InVestModel.h"
//@property(nonatomic,copy)NSString *productId;//项目详情ID
//@property(nonatomic,copy)NSString *contractURL;//电子合同
@implementation MyInvestmentTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.titleLabel.preferredMaxLayoutWidth = SCREEN_WIDTH-100;
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)configureCellByInvestModel:(InVestModel *)model
{
    self.annuaRateLabel.text = model.annualRate;
    self.finishTimeLabel.text = model.finishTime;
    self.payTimeLabel.text = model.payTime;
    self.inMoneyLabel.text = model.inMoney;
    self.shouyiLabel.text = model.shouyi;
    self.titleLabel.text = model.title;

}
@end
